import request from '@/utils/request'

export function queryList(data) {
  return request({
    url: '/selectTreatmentPlan',
    method: 'get',
    params: data,
    baseURL: process.env.VUE_APP_BASE_API_DATA_BRANCH
  })
}

export function delTreatment(data) {
  return request({
    url: '/deleteTreatmentPlan',
    method: 'get',
    params: data,
    baseURL: process.env.VUE_APP_BASE_API_DATA_BRANCH
  })
}

export function saveTreatment(data) {
  return request({
    url: '/saveTreatmentPlan',
    method: 'post',
    data: data,
    baseURL: process.env.VUE_APP_BASE_API_DATA_BRANCH
  })
}
